<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libsndfile-1.0.28
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libsamplerate.html" title=
          "libsamplerate-0.1.9">Prev</a>
          <p>
            libsamplerate-0.1.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtheora.html" title=
          "libtheora-1.1.1">Next</a>
          <p>
            libtheora-1.1.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libsndfile" name="libsndfile"></a>libsndfile-1.0.28
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libsndfile
        </h2>
        <p>
          <span class="application">Libsndfile</span> is a library of C
          routines for reading and writing files containing sampled audio
          data.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz">
                http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 646b5f98ce89ac60cdb060fcd398247c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.1 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 34 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.6 SBU (with tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          libsndfile Dependencies
        </h3>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="flac.html" title="FLAC-1.3.3">FLAC-1.3.3</a>,
          <a class="xref" href="libogg.html" title=
          "libogg-1.3.4">libogg-1.3.4</a>, and <a class="xref" href=
          "libvorbis.html" title="libvorbis-1.3.6">libvorbis-1.3.6</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="alsa-lib.html" title=
          "alsa-lib-1.2.2">alsa-lib-1.2.2</a> and <a class="xref" href=
          "../server/sqlite.html" title="SQLite-3.31.1">SQLite-3.31.1</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libsndfile">http://wiki.linuxfromscratch.org/blfs/wiki/libsndfile</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libsndfile
        </h2>
        <p>
          Install <span class="application">libsndfile</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/libsndfile-1.0.28 &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make
          check</strong></span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">sndfile-cmp, sndfile-concat,
              sndfile-convert, sndfile-deinterleave, sndfile-info,
              sndfile-interleave, sndfile-metadata-get, sndfile-metadata-set,
              sndfile-play, sndfile-regtest and sndfile-salvage</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libsndfile.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/share/doc/libsndfile-1.0.28</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-cmp" name="sndfile-cmp"></a><span class=
                    "term"><span class=
                    "command"><strong>sndfile-cmp</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compares two audio files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-concat" name=
                    "sndfile-concat"></a><span class="term"><span class=
                    "command"><strong>sndfile-concat</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    concatenates two or more audio files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-convert" name=
                    "sndfile-convert"></a><span class="term"><span class=
                    "command"><strong>sndfile-convert</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts a sound files from one format to another.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-deinterleave" name=
                    "sndfile-deinterleave"></a><span class=
                    "term"><span class="command"><strong>sndfile-deinterleave</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    splits a multi-channel into multiple single channel
                    files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-info" name="sndfile-info"></a><span class=
                    "term"><span class=
                    "command"><strong>sndfile-info</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    displays information about a sound file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-interleave" name=
                    "sndfile-interleave"></a><span class="term"><span class=
                    "command"><strong>sndfile-interleave</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts multiple single channel files into a
                    multi-channel file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-metadata-get" name=
                    "sndfile-metadata-get"></a><span class=
                    "term"><span class="command"><strong>sndfile-metadata-get</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    retrieves metadata from a sound file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-metadata-set" name=
                    "sndfile-metadata-set"></a><span class=
                    "term"><span class="command"><strong>sndfile-metadata-set</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    sets metadata in a sound file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sndfile-play" name="sndfile-play"></a><span class=
                    "term"><span class=
                    "command"><strong>sndfile-play</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    plays a sound file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libsndfile-lib" name=
                    "libsndfile-lib"></a><span class="term"><code class=
                    "filename">libsndfile.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">libsndfile</span>
                    API functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-09 10:02:12 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libsamplerate.html" title=
          "libsamplerate-0.1.9">Prev</a>
          <p>
            libsamplerate-0.1.9
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libtheora.html" title=
          "libtheora-1.1.1">Next</a>
          <p>
            libtheora-1.1.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
